extends CardState

var played : bool

func enter() -> void:
	card_ui.color.color = Color.DARK_VIOLET
	card_ui.state.text = "RELEASED"

	played = false
	
	if !card_ui.targets.is_empty() :
		played = true
		print("play card for target(s)", card_ui.targets)
		
func on_input(_event: InputEvent) -> void:
	if played :
		return

	print("transition_requested.emit(self, CardState.State.BASE)")
	transition_requested.emit(self, CardState.State.BASE)
